{% extends "base.html" %}

{% block title %}{{ application_name }} - {{ page.name|escape }} - Deposit Report{% endblock %}

{% block body %}
<table>
<tr>
<th>Household</th>
<th>Amount</th>
<th>Pmt Type</th>
<th>Check Num</th>
<th>Fund</th>
<th>Note</th>
<th>Date</th>
<th>Year</th>
</tr>
{% for pay in payments %}
<tr>
<td>{{ pay.household.name }}</td>
<td align="right">$<script type="text/javascript"> document.write(twoDP({{ pay.amount }}));</script></td>
<td>{{ pay.paytype }}</td>
<td>{{ pay.checkno }}</td>
<td>{{ pay.fund }}</td>
<td>{{ pay.note }}</td>
<td>{{ pay.date }}</td>
<td>{{ pay.year }}</td>
</tr>
{% endfor %}
<tr>
<td>Total</td>
<td align="right">$<script type="text/javascript"> document.write(twoDP({{ total }}));</script></td>
</tr>
</table>
{% endblock %}


